package day13.part2;

/**
 * @Author juzipi
 * @Date 2021/6/28 16:23
 * @Info
 */
public class Student extends Person {

    String age;

    public Student(String name) {
        super(name);
    }

    @Override
    public void eat() {
        System.out.println("真正的吃");
    }


    public void sleep(){
        System.out.println("睡觉");
    }


    public void getAge(){
        System.out.println(age);
    }


}
